#ifndef MESSENGER_H
#define MESSENGER_H

class Messenger {
public:
	Messenger();
	~Messenger();

	void AddToPhotonCount();
	void resetCounts();
	int PhotonCount();

	void AddHits(int);
	double GetAverageNumHits();
	int* getSpectrum();
	int getNumEvents();

private:
	int* spectrum;
	int photonCount;
	int numHits;
	int numEvents;
};

extern Messenger* messenger;

#endif
